const ApiRootUrl = 'http://www.ps.com/api/';
const Domain ='http://www.ps.com';
const hasCode ="0326afdafef15f01340c10cd08c201c1";
module.exports = {
  IndexUrl: ApiRootUrl + 'applets.php', //首页数据接口
  GoodsDetail: ApiRootUrl + 'applets.php?act=getGoodbyId',
  ApiRootUrl: ApiRootUrl,
  Domain: Domain,
  Imgurl:'http://www.piqs.com/images/files/thumbs/',
  hasCode:"0326afdafef15f01340c10cd08c201c1",
  CartList: ApiRootUrl + 'applets.php?act=getCartList',
  OrderList: ApiRootUrl + 'applets.php?act=getOrderList',
  OrderDetail: ApiRootUrl + 'applets.php?act=getOrderDetail',  //订单详情
  AddressList: ApiRootUrl + 'applets.php?act=getAddressList',
  AddressDetail: ApiRootUrl + 'applets.php?act=getAddrById',
  AddressDelete: ApiRootUrl + 'applets.php?act=addressDelete',
  AddressSave: ApiRootUrl + 'applets.php?act=addressSave',
  AddMessage: ApiRootUrl + 'applets.php?act=addMessage',
  CollectList: ApiRootUrl + 'applets.php?act=getCollectionList',
  CouponList: ApiRootUrl + 'applets.php?act=getCouponList',
  CartAdd: ApiRootUrl + 'applets.php?act=addCart',
  CartGoodsCount: ApiRootUrl + 'applets.php?act=getCartNum',
  CartUpdate: ApiRootUrl + 'applets.php?act=updateCart',
  CartDelete: ApiRootUrl + 'applets.php?act=deleteCart',
  CartCheckout: ApiRootUrl + 'applets.php?act=checkoutCart',
  OrderSubmit: ApiRootUrl + 'applets.php?act=orderSubmit',
  PayPrepayId: ApiRootUrl + 'applets.php?act=prePay',//获取微信统一下单prepay_id,
  catDetailUrl: ApiRootUrl + 'applets.php?act=getbyCatId',
  searchData: ApiRootUrl + 'applets.php?act=searchData',
  RegionList: ApiRootUrl + 'applets.php?act=regionList',
  assessList: ApiRootUrl + 'applets.php?act=assessList',
  assessDetail: ApiRootUrl + 'applets.php?act=assessDetail',
  assessAddPage: ApiRootUrl + 'applets.php?act=assessAddPage',
  assessAdd: ApiRootUrl + 'applets.php?act=assessAdd',
  userSign:ApiRootUrl + 'applets.php?act=userSign',
  insertRank: ApiRootUrl + 'applets.php?act=insertRank',
  getUserInfo: ApiRootUrl + 'applets.php?act=getUserInfo',
  updateUserInfo: ApiRootUrl + 'applets.php?act=updateUserInfo',
  UploadImg: ApiRootUrl + 'applets.php?act=UploadImg',
  addLeague: ApiRootUrl + 'applets.php?act=addLeague',
  getVerify: ApiRootUrl + 'applets.php?act=getVerify',
  addRegister: ApiRootUrl + 'applets.php?act=addRegister',
  wxLogin: ApiRootUrl + 'applets.php?act=wxLogin',
  addCollect: ApiRootUrl + 'applets.php?act=addCollect',
  deleteCollect: ApiRootUrl + 'applets.php?act=deleteCollect',
  orderCancel: ApiRootUrl + 'applets.php?act=orderCancel'
};